/**
 *  订单主数据 
 */
package com.kaluli.project.domain.entity;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import com.kaluli.system.domain.entity.DomainEntity;
import java.io.Serializable;

/**
 * @author niwei
 * 
 */
@Entity
@Table(name = "kll_kol_order")
public class KllKolOrder extends DomainEntity implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Column(name="order_number")
	private String orderNumber;
	@Column(name="sub_order_id")
	private int subOrderId;
	@Column(name="order_time")
	private int orderTime;
	@Column(name="total_price")
	private Double totalPrice;
	@Column(name="main_total_price")
	private Double mainTotalPrice;
	@Column(name="is_new_custom")
	private int isNewCustom;
	@Column(name="status")
	private int status;
	@Column(name="updated_at")
	private Timestamp updatedTime;
	
	
	
	public String getOrderNumber() {
		return orderNumber;
	}
	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}
	public int getSubOrderId() {
		return subOrderId;
	}
	public void setSubOrderId(int subOrderId) {
		this.subOrderId = subOrderId;
	}
	public int getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(int orderTime) {
		this.orderTime = orderTime;
	}
	public Double getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Double getMainTotalPrice() {
		return mainTotalPrice;
	}
	public void setMainTotalPrice(Double mainTotalPrice) {
		this.mainTotalPrice = mainTotalPrice;
	}
	public int getIsNewCustom() {
		return isNewCustom;
	}
	public void setIsNewCustom(int isNewCustom) {
		this.isNewCustom = isNewCustom;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Timestamp getUpdatedTime() {
		return updatedTime;
	}
	public void setUpdatedTime(Timestamp updatedTime) {
		this.updatedTime = updatedTime;
	}
	
	
	
}
